package com.deparse.dpframe.utils;

/**
 * Created by hsy on 2016/4/15.
 */
public class DPMathUtil {
    public static int[] resize(int w1, int h1, int w2, int h2) {
        int[] size = new int[2];
        if (w1 > w2 && h1 > h2) {

        } else if (w1 > w2 && h1 <= h2) {

        } else if (w1 <= w2 && h1 > h2) {

        } else {
            size[0] = w1;
            size[1] = h1;
        }
        return size;
    }
}
